
@mixin publicH3 {
  font-weight: 550;
  position: relative;
  font-size: 16px !important;

  &::after {
      content: '';
      width: 5px;
      height: 20px;
      background-color: #1947FF;
      border-radius: 5px;
      position: absolute;
      left: -15px;
      top: -2px;
  }
}
@mixin label {
  width: 120px;
  text-align: right;
  padding-right: 12px;
  font-size: 14px !important;
}

@mixin pubilcForm {
  :deep(.el-form-item) {
      margin-right: 30px !important;
  }


  :deep(.el-input__wrapper) {
      width: 132px !important;
  }

  :deep(.el-date-editor--datetimerange) {
      width: 240px !important;
  }

  :deep(.el-table .el-table__header-wrapper th, .el-table .el-table__fixed-header-wrapper th) {
      font-size: 15px !important;
  }
}

















@mixin clearfix {
  &:after {
    content: "";
    display: table;
    clear: both;
  }
}

@mixin scrollBar {
  &::-webkit-scrollbar-track-piece {
    background: #d3dce6;
  }

  &::-webkit-scrollbar {
    width: 6px;
  }

  &::-webkit-scrollbar-thumb {
    background: #99a9bf;
    border-radius: 20px;
  }
}

@mixin relative {
  position: relative;
  width: 100%;
  height: 100%;
}

@mixin pct($pct) {
  width: #{$pct};
  position: relative;
  margin: 0 auto;
}

@mixin triangle($width, $height, $color, $direction) {
  $width: $width/2;
  $color-border-style: $height solid $color;
  $transparent-border-style: $width solid transparent;
  height: 0;
  width: 0;

  @if $direction==up {
    border-bottom: $color-border-style;
    border-left: $transparent-border-style;
    border-right: $transparent-border-style;
  }

  @else if $direction==right {
    border-left: $color-border-style;
    border-top: $transparent-border-style;
    border-bottom: $transparent-border-style;
  }

  @else if $direction==down {
    border-top: $color-border-style;
    border-left: $transparent-border-style;
    border-right: $transparent-border-style;
  }

  @else if $direction==left {
    border-right: $color-border-style;
    border-top: $transparent-border-style;
    border-bottom: $transparent-border-style;
  }
}
